package top.huhuiyu.p3;

import java.util.Date;

// 描述数据库中部门表的信息
public class TbDept {
    private int dept_id;
    private String dept_name;
    private String dept_info;
    private Date create_date;

    // Contructor 构造器
    public TbDept() {
    }

    @Override
    public String toString() {
        return "TbDept{" + "dept_id=" + dept_id + ", dept_name='" + dept_name + '\'' + ", dept_info='" + dept_info + '\'' + ", create_date=" + create_date + '}';
    }

    // getter and setter
    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }

    public String getDept_name() {
        return dept_name;
    }

    public void setDept_name(String dept_name) {
        this.dept_name = dept_name;
    }

    public String getDept_info() {
        return dept_info;
    }

    public void setDept_info(String dept_info) {
        this.dept_info = dept_info;
    }

    public Date getCreate_date() {
        return create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }
// generate... 生成
    // Contructor 构造器
    // getter and setter 获取器和设置器
    // toString 对象转字符串


}
